SlateportCity_OceanicMuseum_2F_MapScripts:: @ 8155CDA
	map_script 3, SlateportCity_OceanicMuseum_2F_MapScript1_155CE0
	.byte 0

SlateportCity_OceanicMuseum_2F_MapScript1_155CE0:: @ 8155CE0
	call SlateportCity_OceanicMuseum_2F_EventScript_1A0196
	end

SlateportCity_OceanicMuseum_2F_EventScript_155CE6:: @ 8155CE6
	lock
	faceplayer
	msgbox SlateportCity_OceanicMuseum_2F_Text_17ECFD, 4
	closemessage
	playbgm MUS_EVIL_TEAM, TRUE
	addobject 3
	applymovement 3, SlateportCity_OceanicMuseum_2F_Movement_155EB4
	waitmovement 0
	addobject 4
	applymovement 4, SlateportCity_OceanicMuseum_2F_Movement_155EC3
	waitmovement 0
	applymovement 3, SlateportCity_OceanicMuseum_2F_Movement_155EB8
	applymovement 4, SlateportCity_OceanicMuseum_2F_Movement_155EC5
	waitmovement 0
	compare VAR_FACING, 1
	call_if_eq SlateportCity_OceanicMuseum_2F_EventScript_155E62
	compare VAR_FACING, 4
	call_if_eq SlateportCity_OceanicMuseum_2F_EventScript_155E62
	msgbox SlateportCity_OceanicMuseum_2F_Text_17EDAE, 4
	compare VAR_FACING, 4
	call_if_ne SlateportCity_OceanicMuseum_2F_EventScript_155E6D
	msgbox SlateportCity_OceanicMuseum_2F_Text_17EDD7, 4
	msgbox SlateportCity_OceanicMuseum_2F_Text_17EE01, 4
	closemessage
	applymovement 4, SlateportCity_OceanicMuseum_2F_Movement_155EB2
	waitmovement 0
	compare VAR_FACING, 1
	call_if_eq SlateportCity_OceanicMuseum_2F_EventScript_155E78
	compare VAR_FACING, 3
	call_if_eq SlateportCity_OceanicMuseum_2F_EventScript_155E83
	trainerbattle 3, TRAINER_MUSEUM_2F_GRUNT_1, 0, SlateportCity_OceanicMuseum_2F_Text_17EE4E
	msgbox SlateportCity_OceanicMuseum_2F_Text_17EE66, 4
	closemessage
	applymovement 4, SlateportCity_OceanicMuseum_2F_Movement_155EBF
	waitmovement 0
	applymovement 3, SlateportCity_OceanicMuseum_2F_Movement_155EB2
	waitmovement 0
	msgbox SlateportCity_OceanicMuseum_2F_Text_17EEA5, 4
	savebgm 0
	trainerbattle 3, TRAINER_MUSEUM_2F_GRUNT_2, 0, SlateportCity_OceanicMuseum_2F_Text_17EED6
	applymovement 3, SlateportCity_OceanicMuseum_2F_Movement_155EBF
	waitmovement 0
	applymovement 3, SlateportCity_OceanicMuseum_2F_Movement_1A0845
	applymovement 4, SlateportCity_OceanicMuseum_2F_Movement_1A0841
	waitmovement 0
	msgbox SlateportCity_OceanicMuseum_2F_Text_17EEEA, 4
	closemessage
	delay 35
	addobject 2
	applymovement 2, SlateportCity_OceanicMuseum_2F_Movement_155EA8
	applymovement 4, SlateportCity_OceanicMuseum_2F_Movement_155ECE
	waitmovement 0
	msgbox SlateportCity_OceanicMuseum_2F_Text_17EF62, 4
	applymovement 2, SlateportCity_OceanicMuseum_2F_Movement_155EA6
	waitmovement 0
	.ifdef SAPPHIRE
	msgbox SlateportCity_OceanicMuseum_2F_Text_17EFC9, 4
	.else
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F17E, 4
	.endif
	closemessage
	fadescreen 1
	removeobject 2
	removeobject 3
	removeobject 4
	fadescreen 0
	delay 30
	setflag FLAG_HIDE_EVIL_TEAM_OCEANIC_MUSEUM
	applymovement 255, SlateportCity_OceanicMuseum_2F_Movement_1A0843
	waitmovement 0
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F352, 4
	setvar VAR_0x8004, 269
	call SlateportCity_OceanicMuseum_2F_EventScript_1A067F
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F433, 4
	closemessage
	applymovement 1, SlateportCity_OceanicMuseum_2F_Movement_155E98
	waitmovement 0
	playse SE_KAIDAN
	removeobject 1
	setflag FLAG_HIDE_EVIL_TEAM_ROUTE110
	setflag FLAG_DELIVERED_DEVON_GOODS
	clearflag FLAG_HIDE_DEVON_EMPLOYEE_ROUTE116
	setflag FLAG_HIDE_EMPLOYEE_DEVON_CORP_3F
	release
	end

SlateportCity_OceanicMuseum_2F_EventScript_155E62:: @ 8155E62
	applymovement 255, SlateportCity_OceanicMuseum_2F_Movement_1A083F
	waitmovement 0
	return

SlateportCity_OceanicMuseum_2F_EventScript_155E6D:: @ 8155E6D
	applymovement 1, SlateportCity_OceanicMuseum_2F_Movement_1A083F
	waitmovement 0
	return

SlateportCity_OceanicMuseum_2F_EventScript_155E78:: @ 8155E78
	applymovement 255, SlateportCity_OceanicMuseum_2F_Movement_155E8E
	waitmovement 0
	return

SlateportCity_OceanicMuseum_2F_EventScript_155E83:: @ 8155E83
	applymovement 255, SlateportCity_OceanicMuseum_2F_Movement_155E92
	waitmovement 0
	return

SlateportCity_OceanicMuseum_2F_Movement_155E8E:: @ 8155E8E
	walk_left
	walk_down
	walk_in_place_fastest_left
	end_movement

SlateportCity_OceanicMuseum_2F_Movement_155E92:: @ 8155E92
	walk_up
	walk_left
	walk_left
	walk_down
	walk_in_place_fastest_left
	end_movement

SlateportCity_OceanicMuseum_2F_Movement_155E98:: @ 8155E98
	walk_up
	walk_left
	walk_left
	walk_left
	walk_left
	walk_left
	walk_up
	walk_up
	walk_left
	walk_left
	walk_up
	walk_up
	delay_8
	end_movement

SlateportCity_OceanicMuseum_2F_Movement_155EA6:: @ 8155EA6
	walk_right
	end_movement

SlateportCity_OceanicMuseum_2F_Movement_155EA8:: @ 8155EA8
	walk_down
	walk_down
	walk_down
	walk_down
	walk_down
	walk_right
	walk_right
	walk_right
	walk_right
	end_movement

SlateportCity_OceanicMuseum_2F_Movement_155EB2:: @ 8155EB2
	walk_right
	end_movement

SlateportCity_OceanicMuseum_2F_Movement_155EB4:: @ 8155EB4
	walk_down
	walk_right
	walk_in_place_fastest_down
	end_movement

SlateportCity_OceanicMuseum_2F_Movement_155EB8:: @ 8155EB8
	walk_down
	walk_down
	walk_down
	walk_right
	walk_right
	walk_right
	end_movement

SlateportCity_OceanicMuseum_2F_Movement_155EBF:: @ 8155EBF
	lock_facing_direction
	walk_left
	unlock_facing_direction
	end_movement

SlateportCity_OceanicMuseum_2F_Movement_155EC3:: @ 8155EC3
	walk_down
	end_movement

SlateportCity_OceanicMuseum_2F_Movement_155EC5:: @ 8155EC5
	walk_down
	walk_down
	walk_down
	walk_down
	walk_right
	walk_right
	walk_right
	walk_right
	end_movement

SlateportCity_OceanicMuseum_2F_Movement_155ECE:: @ 8155ECE
	delay_16
	delay_16
	delay_16
	delay_16
	delay_16
	delay_16
	delay_16
	delay_16
	delay_8
	walk_fast_down
	walk_in_place_fastest_up
	end_movement

SlateportCity_OceanicMuseum_2F_EventScript_155EDA:: @ 8155EDA
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F572, 3
	end

SlateportCity_OceanicMuseum_2F_EventScript_155EE3:: @ 8155EE3
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F5E3, 3
	end

SlateportCity_OceanicMuseum_2F_EventScript_155EEC:: @ 8155EEC
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F653, 3
	end

SlateportCity_OceanicMuseum_2F_EventScript_155EF5:: @ 8155EF5
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F754, 3
	end

SlateportCity_OceanicMuseum_2F_EventScript_155EFE:: @ 8155EFE
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F7BC, 3
	end

SlateportCity_OceanicMuseum_2F_EventScript_155F07:: @ 8155F07
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F84E, 3
	end

SlateportCity_OceanicMuseum_2F_EventScript_155F10:: @ 8155F10
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F8BC, 3
	end

SlateportCity_OceanicMuseum_2F_EventScript_155F19:: @ 8155F19
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F918, 3
	end

SlateportCity_OceanicMuseum_2F_EventScript_155F22:: @ 8155F22
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F975, 3
	end

SlateportCity_OceanicMuseum_2F_EventScript_155F2B:: @ 8155F2B
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F9C7, 3
	end

SlateportCity_OceanicMuseum_2F_EventScript_155F34:: @ 8155F34
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F4B6, 2
	end

SlateportCity_OceanicMuseum_2F_EventScript_155F3D:: @ 8155F3D
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F50E, 2
	end

SlateportCity_OceanicMuseum_2F_EventScript_155F46:: @ 8155F46
	lock
	faceplayer
	msgbox SlateportCity_OceanicMuseum_2F_Text_17F53B, 4
	closemessage
	applymovement VAR_LAST_TALKED, SlateportCity_OceanicMuseum_2F_Movement_1A083D
	waitmovement 0
	release
	end
